package com.zhuiyun.educations.api.memberVo.service.impl;

import com.zhuiyun.educations.api.memberVo.entity.MemberVo;
import com.zhuiyun.educations.api.memberVo.mapper.MemberVoMapper;
import com.zhuiyun.educations.api.memberVo.service.MemberVoService;
import com.zhuiyun.educations.common.response.CommonResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName MemberVoServiceImpl
 * @Description TODO
 * @Author MJL
 * @Date 2023/7/12 16:52
 **/
@Service
public class MemberVoServiceImpl implements MemberVoService {
    @Resource
    MemberVoMapper memberVoMapper;
    /**
    * @Author MJL
    * @Description todo pc端会员卡页面信息
    * @Date 2023/7/12 19:26
    * @Return  * @param null
    */
    @Override
    public CommonResult MemberVoList() {
        List<MemberVo> list = memberVoMapper.MemberVoList();
        return CommonResult.ok(list);
    }
}
